package com.ruoyi.safety.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测点历史信息数据对象 safety_point_real_history
 *
 * @author ruoyi
 * @date 2024-11-12
 */
@Data //添加
@TableName("safety_point_real_history") //添加
public class SafetyPointRealHistory extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 测点编码
     */
    @Excel(name = "测点编码")
    private String pointCode;

    /**
     * 传感器类型名称
     */
    @Excel(name = "传感器类型名称")
    private String sensorTypeName;

    /**
     * 测点安装位置
     */
    @Excel(name = "测点安装位置")
    private String pointInstallLocation;

    /**
     * 测点值
     */
    @Excel(name = "测点值")
    private String pointValue;

    /**
     * 测点数值单位
     */
    @Excel(name = "测点数值单位")
    private String pointValueUnit;

    /**
     * 测点状态
     */
    @Excel(name = "测点状态")
    private String pointStatus;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend2;

}

